Repository navigation
Show and copy the SQL for a selected package version - #551
Open
mangeshraut712 wants to merge 2 commits into
Open
mangeshraut712 wants to merge 2 commits into
mangeshraut712 wants to merge 2 commits into
Conversation
|
@mangeshraut712 is attempting to deploy a commit to the Supabase Team on Vercel. A member of the Team first needs to authorize it. |
Author
|
Follow-up at 7af4d69: I reproduced a denied clipboard write locally. The previous button marked the operation as successful immediately. The shared button now waits for the clipboard write and reports a failure if it is rejected. The new regression failed before the fix. After the fix, all 26 website tests passed with TZ=UTC, and TypeScript passed with tsc --noEmit. The existing SQL-copy test still verifies exact clipboard content. These checks ran locally without a live registry. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #204. On the Versions tab, expand View SQL for the desired package version to inspect its source or copy the exact text into a migration. SQL is fetched only when expanded.
The integration test renders two versions, checks that there is no initial SQL fetch, expands the second and verifies both the selected ID and clipboard contents (including the final newline). With the registry mocked, all 25 website tests passed under TZ=UTC and TypeScript passed after generating the documentation types. In the local timezone the existing timestamp search test failed; the new regression passed in both runs.